﻿/*
 * Written by Dr. John Tunnicliffe of Decision Analytics, May 2015
 * eMail: john@decision-analytics.co.uk 
 * http://www.decision-analytics.co.uk/
 * https://www.linkedin.com/in/drjohntunnicliffe
 */

using System;

namespace AmoExtensions
{
    public interface IPartition
    {
        bool Create();
        bool Delete();
        bool Exists();
        void Process();
        bool HasValidWhereClause(string SQL);

        string CubeName { get; set; }
        string DatabaseName { get; set; }
        bool IsValidPartitionDefinition { get; }
        string MeasureGroupName { get; set; }
        string PartitionID { get; }
        string PartitionName { get; set; }
        string PartitionSlice { get; set; }
        string PartitionWhereClause { get; set; }
        
    }
}
